package com.sxf.core.record.threadlocal;

import com.alibaba.ttl.TransmittableThreadLocal;

public class SerialThreadLocal {
	
	private SerialThreadLocal() {}
	
	private static final TransmittableThreadLocal<String> THREAD_LOCAL = new TransmittableThreadLocal<>();

	public static void set(String str) {
		THREAD_LOCAL.set(str);
	}

	public static String get() {
		return THREAD_LOCAL.get();
	}

	public static void remove() {
		THREAD_LOCAL.remove();
	}

}
